package pojo;

//分值表
public class Point {
    private int p_id;//试卷号
    private int q_id;//题号
    private double mark;//分值
    private Question question;//题目

    public Point(int p_id,int q_id,double mark,Question question){
        this.question=question;
        this.q_id=q_id;
        this.mark=mark;
        this.p_id=p_id;
    }
   public Point(){

    }
    public int getP_id() {
        return p_id;
    }

    public void setP_id(int p_id) {
        this.p_id = p_id;
    }

    public int getQ_id() {
        return q_id;
    }

    public void setQ_id(int q_id) {
        this.q_id = q_id;
    }

    public double getMark() {
        return mark;
    }

    public void setMark(double mark) {
        this.mark = mark;
    }
    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }
}
